import request from '@/utils/request'

export default {
  // 添加评论
  saveComment(contestComment) {
    return request({
      url: `/comment/saveComment`,
      method: 'post',
      data: contestComment
    })
  },
  // 查询所有评论
  getComment() {
    return request({
      url: `/comment/getCommentAll`,
      method: 'get',
    })
  },

}